|
@@ -291,11 +291,11 @@
|
|
<el-input size="small" v-model="formData.saleNo"></el-input>
|
|
<el-input size="small" v-model="formData.saleNo"></el-input>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
- <el-col :span="12">
|
|
|
|
|
|
+ <!-- <el-col :span="12">
|
|
<el-form-item prop="lotNumber" label="批号:">
|
|
<el-form-item prop="lotNumber" label="批号:">
|
|
<el-input size="small" v-model="formData.lotNumber"></el-input>
|
|
<el-input size="small" v-model="formData.lotNumber"></el-input>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
- </el-col>
|
|
|
|
|
|
+ </el-col> -->
|
|
<el-col :span="12">
|
|
<el-col :span="12">
|
|
<el-form-item prop="saleDate" label="日期:">
|
|
<el-form-item prop="saleDate" label="日期:">
|
|
<el-date-picker
|
|
<el-date-picker
|
|
@@ -410,6 +410,7 @@
|
|
@change="
|
|
@change="
|
|
handleProductChange(scope.row.productNo, scope.row)
|
|
handleProductChange(scope.row.productNo, scope.row)
|
|
"
|
|
"
|
|
|
|
+ @blur="handleProductBlur(scope.row.productNo)"
|
|
>
|
|
>
|
|
<el-option
|
|
<el-option
|
|
v-for="item in productionOptions"
|
|
v-for="item in productionOptions"
|
|
@@ -1136,7 +1137,13 @@ export default {
|
|
outBoundPrint(res.data, "printDom", false);
|
|
outBoundPrint(res.data, "printDom", false);
|
|
}
|
|
}
|
|
},
|
|
},
|
|
-
|
|
|
|
|
|
+ // 产品名失焦
|
|
|
|
+ handleProductBlur(productNo) {
|
|
|
|
+ console.log("blur", productNo);
|
|
|
|
+ if (!productNo) {
|
|
|
|
+ this.productionOptions = this.allProductionOptions.slice(0, 500);
|
|
|
|
+ }
|
|
|
|
+ },
|
|
// 产品名称改变
|
|
// 产品名称改变
|
|
handleProductChange(productNo, row) {
|
|
handleProductChange(productNo, row) {
|
|
console.log(productNo);
|
|
console.log(productNo);
|
|
@@ -1488,8 +1495,9 @@ export default {
|
|
btnName: "出库明细",
|
|
btnName: "出库明细",
|
|
btnType: "OutDetail",
|
|
btnType: "OutDetail",
|
|
btnIcon: "",
|
|
btnIcon: "",
|
|
|
|
+ // btnShowCondition: "[]",
|
|
btnShowCondition:
|
|
btnShowCondition:
|
|
- '[{"fieldName":"sale_order.status","mark":"3","refValue":"1"},{"fieldName":"sale_order.status","mark":"3","refValue":"7"},{"fieldName":"sale_order.status","mark":"3","refValue":"3"}]',
|
|
|
|
|
|
+ '[{"fieldName":"sale_order.status","mark":"3","refValue":"1"},{"fieldName":"sale_order.status","mark":"3","refValue":"7"},{"fieldName":"sale_order.status","mark":"3","refValue":"8"}]',
|
|
btnHasPermi: "huaxian:xsglddgl:INSERT",
|
|
btnHasPermi: "huaxian:xsglddgl:INSERT",
|
|
children: [],
|
|
children: [],
|
|
},
|
|
},
|
|
@@ -1497,8 +1505,9 @@ export default {
|
|
btnName: "打印出库单",
|
|
btnName: "打印出库单",
|
|
btnType: "printOutBound",
|
|
btnType: "printOutBound",
|
|
btnIcon: "",
|
|
btnIcon: "",
|
|
|
|
+ // btnShowCondition: "[]",
|
|
btnShowCondition:
|
|
btnShowCondition:
|
|
- '[{"fieldName":"sale_order.status","mark":"3","refValue":"1"},{"fieldName":"sale_order.status","mark":"3","refValue":"2"},{"fieldName":"sale_order.status","mark":"3","refValue":"8"},{"fieldName":"sale_order.status","mark":"3","refValue":"7"},{"fieldName":"sale_order.status","mark":"3","refValue":"3"}]',
|
|
|
|
|
|
+ '[{"fieldName":"sale_order.status","mark":"3","refValue":"1"},{"fieldName":"sale_order.status","mark":"3","refValue":"2"},{"fieldName":"sale_order.status","mark":"3","refValue":"8"},{"fieldName":"sale_order.status","mark":"3","refValue":"7"}]',
|
|
btnHasPermi: "huaxian:xsglddgl:INSERT",
|
|
btnHasPermi: "huaxian:xsglddgl:INSERT",
|
|
children: [],
|
|
children: [],
|
|
},
|
|
},
|
|
@@ -1508,7 +1517,8 @@ export default {
|
|
btnIcon: "",
|
|
btnIcon: "",
|
|
// btnShowCondition: "[]",
|
|
// btnShowCondition: "[]",
|
|
btnShowCondition:
|
|
btnShowCondition:
|
|
- '[{"fieldName":"sale_order.status","mark":"3","refValue":"1"},{"fieldName":"sale_order.status","mark":"3","refValue":"2"},{"fieldName":"sale_order.status","mark":"3","refValue":"8"},{"fieldName":"sale_order.status","mark":"3","refValue":"7"},{"fieldName":"sale_order.status","mark":"3","refValue":"3"}]',
|
|
|
|
|
|
+ '[{"fieldName":"sale_order.status","mark":"3","refValue":"1"},{"fieldName":"sale_order.status","mark":"3","refValue":"2"},{"fieldName":"sale_order.status","mark":"3","refValue":"8"},{"fieldName":"sale_order.status","mark":"3","refValue":"7"}]',
|
|
|
|
+ // ,{"fieldName":"sale_order.status","mark":"3","refValue":"3"} 3待生产
|
|
btnHasPermi: "huaxian:xsglddgl:INSERT",
|
|
btnHasPermi: "huaxian:xsglddgl:INSERT",
|
|
children: [],
|
|
children: [],
|
|
},
|
|
},
|