修改包材出库新增数据结构

yangwl
LAPTOP-R6EHHS26\86155 12 months ago
parent dcf77c4de4
commit 3b1c4f1b80

@ -62,8 +62,8 @@
<td style="width: 18%;">{{n.equipmentName}}</td>
<td style="width: 20%;">{{n.department}}</td>
<td style="width: 10%;">{{n.equipmentStatus}}</td>
<td style="width: 12%;">{{n.failureRate !=null ?n.failureRate+'%':'--'}}</td>
<td style="width: 12%;">{{n.utilizationRatio !=null?n.utilizationRatio+'%':'--'}}</td>
<td style="width: 12%;">{{n.failureRate !=null ?n.failureRate.toFix(2)+'%':'--'}}</td>
<td style="width: 12%;">{{n.utilizationRatio !=null?n.utilizationRatio.toFix(2)+'%':'--'}}</td>
</tr>
</tbody>
</table>

@ -135,7 +135,7 @@
</template>
<script>
import { listOutorder, getOutorder, delOutorder, PurchaseOrderOutboundPda, addPurchaseOrderOutbound,getlistCK } from "@/api/wms/outorder";
import { listOutorder, getOutorder, delOutorder, PurchaseOrderOutboundPda, addPurchaseOrderOutbound, getlistCK } from "@/api/wms/outorder";
export default {
name: "Outorder",
@ -203,6 +203,11 @@ export default {
produceCode: '',
warehouseNo: '',
},
queryParams2: {
orderNo: '',
warehouseNo: '',
orderLines:[],
},
//
form: {},
//
@ -255,7 +260,7 @@ export default {
],
selectedRows: [],
stationNo: '',
addoutorderList:[],
addoutorderList: [],
};
},
created() {
@ -286,12 +291,12 @@ export default {
},
getselect() {
// config.headers['poolName'] = localStorage.getItem('USER_POOL_NAME_CURRENT');
let factoryCode=localStorage.getItem('USER_POOL_NAME_CURRENT').substring(3)
let factoryCode = localStorage.getItem('USER_POOL_NAME_CURRENT').substring(3)
let params = { factoryCode: factoryCode }; //
let paramsJSON = JSON.stringify(params); // JSON
console.log( factoryCode)
console.log(factoryCode)
getlistCK(paramsJSON).then(response => {
this.Optionlistck=response.data
this.Optionlistck = response.data
console.log(this.Optionlistck)
@ -420,7 +425,10 @@ export default {
// this.getList();
// });
} else {
addPurchaseOrderOutbound(_this.selectedRows).then(response => {
this.queryParams2.orderNo = this.queryParams1.produceCode
this.queryParams2.warehouseCode = this.queryParams1.warehouseCode
this.queryParams2.orderLines = _this.selectedRows
addPurchaseOrderOutbound(_this.queryParams2).then(response => {
if (response.data) {
this.$modal.msgSuccess("新增成功");
this.open = false;

Loading…
Cancel
Save