|
@@ -370,7 +370,7 @@
|
|
<!-- <el-table-column show-overflow-tooltip label="末级供应调拨待入量" align="center" prop="lastStockQty" width="150px"/> -->
|
|
<!-- <el-table-column show-overflow-tooltip label="末级供应调拨待入量" align="center" prop="lastStockQty" width="150px"/> -->
|
|
<!-- <el-table-column show-overflow-tooltip label="上级供应中心现存量" align="center" prop="superiorCenterQty" width="200px"/> -->
|
|
<!-- <el-table-column show-overflow-tooltip label="上级供应中心现存量" align="center" prop="superiorCenterQty" width="200px"/> -->
|
|
<!-- <el-table-column show-overflow-tooltip label="上级库存被调拨占用量" align="center" prop="superiorAllotQty" width="200px"/> -->
|
|
<!-- <el-table-column show-overflow-tooltip label="上级库存被调拨占用量" align="center" prop="superiorAllotQty" width="200px"/> -->
|
|
- <!-- <el-table-column show-overflow-tooltip label="可用量" align="center" prop="availableQty"/> -->
|
|
|
|
|
|
+ <el-table-column show-overflow-tooltip label="可用量" align="center" prop="availableQty"/>
|
|
<el-table-column show-overflow-tooltip label="调拨状态" align="center" prop="statusAllot" width="100px">
|
|
<el-table-column show-overflow-tooltip label="调拨状态" align="center" prop="statusAllot" width="100px">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<el-form-item class="hang">
|
|
<el-form-item class="hang">
|
|
@@ -429,7 +429,7 @@
|
|
<el-table-column show-overflow-tooltip label="详细地址" align="center" prop="address" width="200px"/>
|
|
<el-table-column show-overflow-tooltip label="详细地址" align="center" prop="address" width="200px"/>
|
|
<el-table-column show-overflow-tooltip label="价格类型" align="center" prop="priceType" width="150px">
|
|
<el-table-column show-overflow-tooltip label="价格类型" align="center" prop="priceType" width="150px">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
- <el-form-item class="hang">
|
|
|
|
|
|
+ <el-form-item class="hang" :prop="'puDemandItemList.' + scope.$index + '.' + 'priceType'" :rules="{ required: true, message: '请选择价格类型', trigger: 'blur' }">
|
|
<el-select clearable :disabled="sonDisable" size="small" v-model="scope.row.priceType">
|
|
<el-select clearable :disabled="sonDisable" size="small" v-model="scope.row.priceType">
|
|
<el-option v-for=" dict in dict.type.sys_price_type" :key="dict.value" :label="dict.label" :value="dict.value">
|
|
<el-option v-for=" dict in dict.type.sys_price_type" :key="dict.value" :label="dict.label" :value="dict.value">
|
|
</el-option>
|
|
</el-option>
|
|
@@ -605,12 +605,14 @@ export default {
|
|
this.getDetails(this.row)
|
|
this.getDetails(this.row)
|
|
this.basicForm.id = ''
|
|
this.basicForm.id = ''
|
|
this.basicForm.code = ''
|
|
this.basicForm.code = ''
|
|
|
|
+ this.basicForm.createBy = ''
|
|
},
|
|
},
|
|
handleData() {
|
|
handleData() {
|
|
console.log('222')
|
|
console.log('222')
|
|
- // 复制新增把id,编码置为空,子表去掉id
|
|
|
|
|
|
+ // 复制新增把id,编码,创建人置为空,子表去掉id
|
|
this.basicForm.id = ''
|
|
this.basicForm.id = ''
|
|
this.basicForm.code = ''
|
|
this.basicForm.code = ''
|
|
|
|
+ this.basicForm.createBy = ''
|
|
if (this.basicForm.puDemandItemList.length !== 0) {
|
|
if (this.basicForm.puDemandItemList.length !== 0) {
|
|
this.basicForm.puDemandItemList.forEach(item => {
|
|
this.basicForm.puDemandItemList.forEach(item => {
|
|
if (item.id) {
|
|
if (item.id) {
|
|
@@ -746,7 +748,7 @@ export default {
|
|
contactsPhone: null,
|
|
contactsPhone: null,
|
|
address: null,
|
|
address: null,
|
|
source: null,
|
|
source: null,
|
|
- priceType: null,
|
|
|
|
|
|
+ priceType: 'order',
|
|
puManagerApprover: null,
|
|
puManagerApprover: null,
|
|
puManagerApproverName: null,
|
|
puManagerApproverName: null,
|
|
processTime: null,
|
|
processTime: null,
|