|
@@ -494,7 +494,8 @@
|
|
<el-table-column align="center" label="" width="100">
|
|
<el-table-column align="center" label="" width="100">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<el-button type="primary" size="small" @click="chooseItem(scope.row.recordNo, scope.row.userid)"
|
|
<el-button type="primary" size="small" @click="chooseItem(scope.row.recordNo, scope.row.userid)"
|
|
- >选择</el-button
|
|
|
|
|
|
+ >选择
|
|
|
|
+ </el-button
|
|
>
|
|
>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
@@ -734,11 +735,15 @@ export default {
|
|
const STOCK_ORDER_HAVE_START = that.stockList.find(o => o.dictCode == 'STOCK_ORDER_HAVE_START').dictValue
|
|
const STOCK_ORDER_HAVE_START = that.stockList.find(o => o.dictCode == 'STOCK_ORDER_HAVE_START').dictValue
|
|
const STOCK_ORDER_HAVE_END = that.stockList.find(o => o.dictCode == 'STOCK_ORDER_HAVE_END').dictValue
|
|
const STOCK_ORDER_HAVE_END = that.stockList.find(o => o.dictCode == 'STOCK_ORDER_HAVE_END').dictValue
|
|
const STOCK_ORDER_ALL_NUM = that.stockList.find(o => o.dictCode == 'STOCK_ORDER_ALL_NUM').dictValue
|
|
const STOCK_ORDER_ALL_NUM = that.stockList.find(o => o.dictCode == 'STOCK_ORDER_ALL_NUM').dictValue
|
|
- if (val === '' || val === null || val === undefined) return '未检查'
|
|
|
|
- else if (val <= 0) return '无货'
|
|
|
|
- else if (val > STOCK_ORDER_START && val <= STOCK_ORDER_END) return val
|
|
|
|
- else if (val >= STOCK_ORDER_HAVE_START && val <= STOCK_ORDER_HAVE_END) return '有货'
|
|
|
|
- else if (val > STOCK_ORDER_ALL_NUM) return '充足'
|
|
|
|
|
|
+ if (val === '' || val === null || val === undefined) {
|
|
|
|
+ return '未检查'
|
|
|
|
+ } else if (val <= 0) {
|
|
|
|
+ return '无货'
|
|
|
|
+ } else if (val > STOCK_ORDER_START && val <= STOCK_ORDER_END) {
|
|
|
|
+ return val
|
|
|
|
+ } else if (val >= STOCK_ORDER_HAVE_START && val <= STOCK_ORDER_HAVE_END) {
|
|
|
|
+ return '有货'
|
|
|
|
+ } else if (val > STOCK_ORDER_ALL_NUM) return '充足'
|
|
}
|
|
}
|
|
},
|
|
},
|
|
props: ['listItem'],
|
|
props: ['listItem'],
|
|
@@ -909,7 +914,7 @@ export default {
|
|
immediate: true,
|
|
immediate: true,
|
|
deep: true
|
|
deep: true
|
|
},
|
|
},
|
|
- 'mainForm.saleType': function (newValue, oldValue) {
|
|
|
|
|
|
+ 'mainForm.saleType': function(newValue, oldValue) {
|
|
this.oldSaleType = oldValue
|
|
this.oldSaleType = oldValue
|
|
}
|
|
}
|
|
},
|
|
},
|
|
@@ -1005,7 +1010,8 @@ export default {
|
|
projectName: this.screenForm.enginName,
|
|
projectName: this.screenForm.enginName,
|
|
useUnit: this.screenForm.company,
|
|
useUnit: this.screenForm.company,
|
|
refEnginRecordNo: this.mainForm.loginNum,
|
|
refEnginRecordNo: this.mainForm.loginNum,
|
|
- examineStatus: 'OK'
|
|
|
|
|
|
+ examineStatus: 'OK',
|
|
|
|
+ isClose: true
|
|
}).then(res => {
|
|
}).then(res => {
|
|
this.dialogTable_dataList = res.data.records
|
|
this.dialogTable_dataList = res.data.records
|
|
this.dialogTable_listTotal = res.data.total
|
|
this.dialogTable_listTotal = res.data.total
|
|
@@ -1439,8 +1445,9 @@ export default {
|
|
},
|
|
},
|
|
|
|
|
|
status2Filter(item) {
|
|
status2Filter(item) {
|
|
- if (item.status2 === '' || item.status2 === null || item.status2 === undefined) return '未检查'
|
|
|
|
- else if (item.status2 <= 0) return '无货'
|
|
|
|
|
|
+ if (item.status2 === '' || item.status2 === null || item.status2 === undefined) {
|
|
|
|
+ return '未检查'
|
|
|
|
+ } else if (item.status2 <= 0) return '无货'
|
|
if (item.status2 <= 0) {
|
|
if (item.status2 <= 0) {
|
|
return '无货'
|
|
return '无货'
|
|
} else if (item.status2 >= 1 && item.status2 <= 30) {
|
|
} else if (item.status2 >= 1 && item.status2 <= 30) {
|
|
@@ -1729,10 +1736,12 @@ export default {
|
|
::v-deep .input .el-input__inner {
|
|
::v-deep .input .el-input__inner {
|
|
color: blue;
|
|
color: blue;
|
|
}
|
|
}
|
|
|
|
+
|
|
.detail-container {
|
|
.detail-container {
|
|
width: 100%;
|
|
width: 100%;
|
|
height: 100%;
|
|
height: 100%;
|
|
}
|
|
}
|
|
|
|
+
|
|
.main-title {
|
|
.main-title {
|
|
display: flex;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
justify-content: space-between;
|
|
@@ -1741,24 +1750,29 @@ export default {
|
|
height: 60px;
|
|
height: 60px;
|
|
border-bottom: 1px solid #dcdfe6;
|
|
border-bottom: 1px solid #dcdfe6;
|
|
margin-bottom: 20px;
|
|
margin-bottom: 20px;
|
|
|
|
+
|
|
.title {
|
|
.title {
|
|
font-size: 16px;
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
font-weight: 600;
|
|
padding-left: 10px;
|
|
padding-left: 10px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+
|
|
.tables {
|
|
.tables {
|
|
display: flex;
|
|
display: flex;
|
|
margin-top: 10px;
|
|
margin-top: 10px;
|
|
|
|
+
|
|
.table {
|
|
.table {
|
|
width: 45%;
|
|
width: 45%;
|
|
}
|
|
}
|
|
|
|
+
|
|
.buttons {
|
|
.buttons {
|
|
display: flex;
|
|
display: flex;
|
|
flex-direction: column;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
justify-content: center;
|
|
align-items: center;
|
|
align-items: center;
|
|
padding: 0 10px;
|
|
padding: 0 10px;
|
|
|
|
+
|
|
button {
|
|
button {
|
|
margin: 0;
|
|
margin: 0;
|
|
margin-top: 10px;
|
|
margin-top: 10px;
|
|
@@ -1770,6 +1784,7 @@ export default {
|
|
::v-deep input::-webkit-inner-spin-button {
|
|
::v-deep input::-webkit-inner-spin-button {
|
|
-webkit-appearance: none;
|
|
-webkit-appearance: none;
|
|
}
|
|
}
|
|
|
|
+
|
|
::v-deep input[type='number'] {
|
|
::v-deep input[type='number'] {
|
|
-moz-appearance: textfield;
|
|
-moz-appearance: textfield;
|
|
}
|
|
}
|