|
|
@ -90,7 +90,6 @@ import TableHead from '@/components/TableHead/src/TableHead.vue' |
|
|
|
import ImportForm from '@/components/ImportForm/src/ImportForm.vue' |
|
|
|
import Detail from '@/components/Detail/src/Detail.vue' |
|
|
|
import * as DeliverPlanDetailApi from '@/api/wms/deliverPlanDetail' |
|
|
|
import {DeliverRequestDetail} from '../../deliver/deliverRequestMain/deliverRequestMain.data' |
|
|
|
|
|
|
|
// 备货申请 |
|
|
|
defineOptions({ name: 'StockupMainRequest' }) |
|
|
@ -119,12 +118,8 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) => |
|
|
|
const setV = {} |
|
|
|
setV[formField] = val[0][searchField] |
|
|
|
if (type == 'tableForm') { |
|
|
|
if(formField == 'packingNumber') { |
|
|
|
row['packingNumber'] = val[0]['packingNumber'] |
|
|
|
row['containerNumber'] = val[0]['containerNumber'] |
|
|
|
row['batch'] = val[0]['batch'] |
|
|
|
row['inventoryStatus'] = val[0]['inventoryStatus'] |
|
|
|
row['itemCode'] = val[0]['itemCode'] |
|
|
|
if(formField == 'itemCode') { |
|
|
|
row['itemCode'] = val[0]['code'] |
|
|
|
row['uom'] = val[0]['uom'] |
|
|
|
} |
|
|
|
if(formField == 'toLocationCode'){ |
|
|
|