fix:4成品库的销售发货添加客户信息&销售管理的客户信息的联系人和联系方式选填
This commit is contained in:
parent
a4c279e3db
commit
d2b03eb2f3
|
@ -18,23 +18,8 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="retangleWrap">
|
<div class="retangleWrap">
|
||||||
<div class="retangle countRetangle">
|
<div class="retangle countRetangle">
|
||||||
<div
|
<div class="Retangle_container">
|
||||||
style="
|
<div class="title">昨日核心指标</div>
|
||||||
display: flex;
|
|
||||||
justify-content: space-between;
|
|
||||||
padding: 0 24px;
|
|
||||||
"
|
|
||||||
>
|
|
||||||
<div
|
|
||||||
style="
|
|
||||||
color: rgb(30, 30, 30);
|
|
||||||
font-size: 16px;
|
|
||||||
font-weight: 400;
|
|
||||||
line-height: 24px;
|
|
||||||
"
|
|
||||||
>
|
|
||||||
昨日核心指标
|
|
||||||
</div>
|
|
||||||
<!-- <div style="color: rgb(122, 121, 121);size: 12px;font-weight: 290;line-height: 22px;">时间</div> -->
|
<!-- <div style="color: rgb(122, 121, 121);size: 12px;font-weight: 290;line-height: 22px;">时间</div> -->
|
||||||
</div>
|
</div>
|
||||||
<div style="padding-top: 20px; display: flex">
|
<div style="padding-top: 20px; display: flex">
|
||||||
|
@ -175,31 +160,9 @@
|
||||||
<el-col :span="14">
|
<el-col :span="14">
|
||||||
<div class="retangleWrap" style="padding-right: 0">
|
<div class="retangleWrap" style="padding-right: 0">
|
||||||
<div class="retangle bottomRetangle">
|
<div class="retangle bottomRetangle">
|
||||||
<div
|
<div class="Retangle_container">
|
||||||
style="
|
<div class="title">本月生产合格趋势</div>
|
||||||
display: flex;
|
<div class="radios_group">
|
||||||
justify-content: space-between;
|
|
||||||
padding: 0 24px;
|
|
||||||
"
|
|
||||||
>
|
|
||||||
<div
|
|
||||||
style="
|
|
||||||
color: rgb(30, 30, 30);
|
|
||||||
font-size: 16px;
|
|
||||||
font-weight: 400;
|
|
||||||
line-height: 24px;
|
|
||||||
"
|
|
||||||
>
|
|
||||||
本月生产合格趋势
|
|
||||||
</div>
|
|
||||||
<div
|
|
||||||
style="
|
|
||||||
color: rgb(122, 121, 121);
|
|
||||||
size: 12px;
|
|
||||||
font-weight: 290;
|
|
||||||
line-height: 22px;
|
|
||||||
"
|
|
||||||
>
|
|
||||||
<el-radio-group
|
<el-radio-group
|
||||||
v-model="deptName"
|
v-model="deptName"
|
||||||
@change="deptNameChange"
|
@change="deptNameChange"
|
||||||
|
@ -234,32 +197,9 @@
|
||||||
<el-col :span="10">
|
<el-col :span="10">
|
||||||
<div class="retangleWrap retangleWrapTable">
|
<div class="retangleWrap retangleWrapTable">
|
||||||
<div class="retangle tableRetangle">
|
<div class="retangle tableRetangle">
|
||||||
<div
|
<div class="Retangle_container">
|
||||||
style="
|
<div class="title">库存情况</div>
|
||||||
display: flex;
|
<div class="radios_group">
|
||||||
justify-content: space-between;
|
|
||||||
padding: 0 24px;
|
|
||||||
"
|
|
||||||
>
|
|
||||||
<div
|
|
||||||
style="
|
|
||||||
color: rgb(30, 30, 30);
|
|
||||||
font-size: 16px;
|
|
||||||
font-weight: 400;
|
|
||||||
line-height: 24px;
|
|
||||||
"
|
|
||||||
>
|
|
||||||
库存情况
|
|
||||||
</div>
|
|
||||||
<div
|
|
||||||
style="
|
|
||||||
color: rgb(122, 121, 121);
|
|
||||||
size: 12px;
|
|
||||||
font-weight: 290;
|
|
||||||
line-height: 22px;
|
|
||||||
height: 23px;
|
|
||||||
"
|
|
||||||
>
|
|
||||||
<el-radio-group
|
<el-radio-group
|
||||||
v-model="materialType"
|
v-model="materialType"
|
||||||
@change="materialTypeChange"
|
@change="materialTypeChange"
|
||||||
|
@ -306,7 +246,7 @@
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
<el-row style="margin-bottom: 20px">
|
<el-row style="margin-bottom: 20px">
|
||||||
<el-col :span="7">
|
<el-col :span="8">
|
||||||
<div class="retangleWrap" style="padding-right: 0">
|
<div class="retangleWrap" style="padding-right: 0">
|
||||||
<div class="retangle bottomRetangle warningContainer">
|
<div class="retangle bottomRetangle warningContainer">
|
||||||
<div class="warningHead">
|
<div class="warningHead">
|
||||||
|
@ -354,29 +294,14 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="10">
|
<el-col :span="8">
|
||||||
<div
|
<div
|
||||||
class="retangleWrap retangleWrapTable"
|
class="retangleWrap retangleWrapTable"
|
||||||
style="padding-right: 0"
|
style="padding-right: 0"
|
||||||
>
|
>
|
||||||
<div class="retangle tableRetangle">
|
<div class="retangle tableRetangle">
|
||||||
<div
|
<div class="Retangle_container">
|
||||||
style="
|
<div class="title">生产设备</div>
|
||||||
display: flex;
|
|
||||||
justify-content: space-between;
|
|
||||||
padding: 0 24px;
|
|
||||||
"
|
|
||||||
>
|
|
||||||
<div
|
|
||||||
style="
|
|
||||||
color: rgb(30, 30, 30);
|
|
||||||
font-size: 16px;
|
|
||||||
font-weight: 400;
|
|
||||||
line-height: 24px;
|
|
||||||
"
|
|
||||||
>
|
|
||||||
生产设备
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div style="padding: 20px 24px 24px 24px">
|
<div style="padding: 20px 24px 24px 24px">
|
||||||
<el-table
|
<el-table
|
||||||
|
@ -439,29 +364,35 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="7">
|
<el-col :span="8">
|
||||||
<div class="retangleWrap retangleWrapTable">
|
<div class="retangleWrap retangleWrapTable">
|
||||||
<div class="retangle tableRetangle">
|
<div class="retangle tableRetangle">
|
||||||
<div
|
<div class="Retangle_container">
|
||||||
style="
|
<div class="title">半成品统计</div>
|
||||||
display: flex;
|
|
||||||
justify-content: space-between;
|
|
||||||
padding: 0 24px;
|
|
||||||
"
|
|
||||||
>
|
|
||||||
<div
|
|
||||||
style="
|
|
||||||
color: rgb(30, 30, 30);
|
|
||||||
font-size: 16px;
|
|
||||||
font-weight: 400;
|
|
||||||
line-height: 24px;
|
|
||||||
"
|
|
||||||
>
|
|
||||||
日历
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
<div style="padding: 20px 24px 24px 24px">
|
||||||
<div style="">
|
<el-table
|
||||||
<el-calendar v-model="calendarValue" />
|
:data="halfProductList"
|
||||||
|
style="width: 100%; height: 285px"
|
||||||
|
>
|
||||||
|
<el-table-column
|
||||||
|
prop="name"
|
||||||
|
label="产品名称"
|
||||||
|
/>
|
||||||
|
<el-table-column
|
||||||
|
prop="number"
|
||||||
|
label="规格型号"
|
||||||
|
/>
|
||||||
|
<el-table-column
|
||||||
|
prop="belong_dept_name"
|
||||||
|
label="完成车间"
|
||||||
|
/>
|
||||||
|
<el-table-column
|
||||||
|
prop="count"
|
||||||
|
label="合计库存"
|
||||||
|
>
|
||||||
|
</el-table-column>
|
||||||
|
</el-table>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -491,6 +422,7 @@ export default {
|
||||||
chartData: [],
|
chartData: [],
|
||||||
tableData: [],
|
tableData: [],
|
||||||
equipList: [],
|
equipList: [],
|
||||||
|
halfProductList: [],
|
||||||
warningMaterial: [],
|
warningMaterial: [],
|
||||||
calendarValue: "",
|
calendarValue: "",
|
||||||
eqState_: {
|
eqState_: {
|
||||||
|
@ -619,6 +551,7 @@ export default {
|
||||||
}
|
}
|
||||||
return classInfo;
|
return classInfo;
|
||||||
},
|
},
|
||||||
|
//设备列表
|
||||||
getEquipList() {
|
getEquipList() {
|
||||||
this.$API.em.equipment.list
|
this.$API.em.equipment.list
|
||||||
.req({ page: 0, type: 10 })
|
.req({ page: 0, type: 10 })
|
||||||
|
@ -626,6 +559,12 @@ export default {
|
||||||
this.equipList = res;
|
this.equipList = res;
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
//半成品数量统计
|
||||||
|
getHalfProductList() {
|
||||||
|
// this.$API.inm.halfProduct.list.req({ page: 0 }).then((res) => {
|
||||||
|
// this.halfProductList = res;
|
||||||
|
// });
|
||||||
|
},
|
||||||
materialTypeChange() {
|
materialTypeChange() {
|
||||||
this.getMaterialList();
|
this.getMaterialList();
|
||||||
},
|
},
|
||||||
|
@ -1063,7 +1002,24 @@ export default {
|
||||||
position: relative;
|
position: relative;
|
||||||
background: #ffffff;
|
background: #ffffff;
|
||||||
}
|
}
|
||||||
|
.Retangle_container {
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
padding: 0 24px;
|
||||||
|
}
|
||||||
|
.Retangle_container > .title {
|
||||||
|
color: rgb(30, 30, 30);
|
||||||
|
font-size: 16px;
|
||||||
|
font-weight: 400;
|
||||||
|
line-height: 24px;
|
||||||
|
}
|
||||||
|
.radios_group {
|
||||||
|
color: rgb(122, 121, 121);
|
||||||
|
size: 12px;
|
||||||
|
font-weight: 290;
|
||||||
|
line-height: 22px;
|
||||||
|
height: 23px;
|
||||||
|
}
|
||||||
.retangleImg {
|
.retangleImg {
|
||||||
height: 188px;
|
height: 188px;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
|
|
|
@ -66,6 +66,20 @@
|
||||||
></el-option>
|
></el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
<el-form-item label="客户名称" v-if="form.type == 'sale_out'">
|
||||||
|
<el-select
|
||||||
|
v-model="form.customer"
|
||||||
|
clearable
|
||||||
|
style="width: 100%"
|
||||||
|
>
|
||||||
|
<el-option
|
||||||
|
v-for="item in customerOptions"
|
||||||
|
:key="item.id"
|
||||||
|
:label="item.name"
|
||||||
|
:value="item.id"
|
||||||
|
></el-option>
|
||||||
|
</el-select>
|
||||||
|
</el-form-item>
|
||||||
<el-form-item label="客户" v-if="form.type == 'other_out'">
|
<el-form-item label="客户" v-if="form.type == 'other_out'">
|
||||||
<el-select
|
<el-select
|
||||||
v-model="form.customer"
|
v-model="form.customer"
|
||||||
|
@ -190,6 +204,7 @@ export default {
|
||||||
this.getSupplierOptions();
|
this.getSupplierOptions();
|
||||||
} else if (type == "sale_out") {
|
} else if (type == "sale_out") {
|
||||||
this.getOrderOptions();
|
this.getOrderOptions();
|
||||||
|
this.getCustomerOptions();
|
||||||
} else if (type == "do_in" || type == "do_out") {
|
} else if (type == "do_in" || type == "do_out") {
|
||||||
this.getDeptOptions();
|
this.getDeptOptions();
|
||||||
this.getDeptUser();
|
this.getDeptUser();
|
||||||
|
|
Loading…
Reference in New Issue