|
|
@ -547,6 +547,10 @@ export default {
|
|
|
|
if (w2Items.length) {
|
|
|
|
if (w2Items.length) {
|
|
|
|
_this.gudingworkorderCodeSap = w2Items[0].workorderCodeSap;
|
|
|
|
_this.gudingworkorderCodeSap = w2Items[0].workorderCodeSap;
|
|
|
|
_this.getorderdetail(_this.gudingworkorderCodeSap);
|
|
|
|
_this.getorderdetail(_this.gudingworkorderCodeSap);
|
|
|
|
|
|
|
|
}else {
|
|
|
|
|
|
|
|
_this.workOrder = {};
|
|
|
|
|
|
|
|
_this.taskNum= {};
|
|
|
|
|
|
|
|
_this.taskSampleNum= {};
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// _this.getorderdetail(_this.gudingworkorderCodeSap);
|
|
|
|
// _this.getorderdetail(_this.gudingworkorderCodeSap);
|
|
|
|
if (_this.orderdetail.length == 0) {
|
|
|
|
if (_this.orderdetail.length == 0) {
|
|
|
|