Browse Source

完善排产管理上装选择

zhanglei
yunuo970428 3 years ago
parent
commit
bdaddf78d7
  1. 42
      anrui-scm/anrui-scm-ui/src/views/supplychain/cheliangpaichan/cheliangpaichanAdd.vue
  2. 7
      anrui-scm/anrui-scm-ui/src/views/supplychain/cheliangpaichan/cheliangpaichanInfo.vue
  3. 7
      anrui-scm/anrui-scm-ui/src/views/workFlow/paichanguanliFlow/paichanguanli/cheliangpaichanDaiBanInfo.vue
  4. 47
      anrui-scm/anrui-scm-ui/src/views/workFlow/paichanguanliFlow/paichanguanli/cheliangpaichanEdit.vue
  5. 7
      anrui-scm/anrui-scm-ui/src/views/workFlow/paichanguanliFlow/paichanguanli/cheliangpaichanYiBanInfo.vue

42
anrui-scm/anrui-scm-ui/src/views/supplychain/cheliangpaichan/cheliangpaichanAdd.vue

@ -274,25 +274,7 @@ export default {
insideCode: e.insideCode, //
vehicleName: e.vehicleAlias,
vehicleSid: e.modelSid,
guidePrice: '',
busVehicleApplySz: {
color: '',
coverPlate: '',
floorHeating: '',
otherConfig: '',
overallDimension: '',
plateMaterial: '',
plateThickness: '',
refitFactory: '',
refitMethod: '',
refrigerator: '',
szSid: '',
tarpaulinSlide: '',
topName: '',
vehicleFunction: '',
costPrice: '',
guidePrice: ''
}
guidePrice: ''
})
if (e.insideCode) {
this.isRead = true
@ -359,8 +341,26 @@ export default {
this.$refs['divShangzhuangpeizhi'].showData(index)
},
backPeizhi(val, index) {
console.log(val, index)
this.viewState = 1
const busVehicleApplySz = {
color: '',
coverPlate: '',
floorHeating: '',
otherConfig: '',
overallDimension: '',
plateMaterial: '',
plateThickness: '',
refitFactory: '',
refitMethod: '',
refrigerator: '',
szSid: '',
tarpaulinSlide: '',
topName: '',
vehicleFunction: '',
costPrice: '',
guidePrice: ''
}
this.formobj.busVehicleApplyDetailList[index].busVehicleApplySz = busVehicleApplySz
this.formobj.busVehicleApplyDetailList[index].busVehicleApplySz.color = val.colorValue
this.formobj.busVehicleApplyDetailList[index].busVehicleApplySz.coverPlate = val.selfUnHyCoPl
this.formobj.busVehicleApplyDetailList[index].busVehicleApplySz.floorHeating = val.floorHeating
@ -379,7 +379,7 @@ export default {
this.formobj.busVehicleApplyDetailList[index].busVehicleApplySz.guidePrice = ''
},
handleUpdate(row) {
if (row !== null) {
if (row !== null && row !== undefined) {
this.viewState = 4
this.$refs['divShangzhuangpeizhiAdd'].showInfo(row)
} else {

7
anrui-scm/anrui-scm-ui/src/views/supplychain/cheliangpaichan/cheliangpaichanInfo.vue

@ -89,7 +89,12 @@
</el-table-column>
<el-table-column label="上装信息" header-align="center" width="100" align="center">
<template slot-scope="scope">
<el-button type="primary" size="small" @click="handleLook(scope.row.busVehicleApplySz)">查看</el-button>
<el-button v-show="scope.row.busVehicleApplySz !== null" type="primary" size="small" @click="handleLook(scope.row.busVehicleApplySz)">查看</el-button>
</template>
</el-table-column>
<el-table-column label="上装销售指导价" align="center" width="200">
<template slot-scope="scope">
<span>{{ scope.row.guidePrice }}</span>
</template>
</el-table-column>
</el-table>

7
anrui-scm/anrui-scm-ui/src/views/workFlow/paichanguanliFlow/paichanguanli/cheliangpaichanDaiBanInfo.vue

@ -91,7 +91,12 @@
</el-table-column>
<el-table-column label="上装信息" header-align="center" width="100" align="center">
<template slot-scope="scope">
<el-button type="primary" size="small" @click="handleLook(scope.row.busVehicleApplySz)">查看</el-button>
<el-button v-show="scope.row.busVehicleApplySz !== null" type="primary" size="small" @click="handleLook(scope.row.busVehicleApplySz)">查看</el-button>
</template>
</el-table-column>
<el-table-column label="上装销售指导价" align="center" width="200">
<template slot-scope="scope">
<span>{{ scope.row.guidePrice }}</span>
</template>
</el-table-column>
</el-table>

47
anrui-scm/anrui-scm-ui/src/views/workFlow/paichanguanliFlow/paichanguanli/cheliangpaichanEdit.vue

@ -108,6 +108,11 @@
<el-button type="primary" size="mini" @click="handleUpdate(scope.row.busVehicleApplySz)">编辑</el-button>
</template>
</el-table-column>
<el-table-column label="上装销售指导价" align="center" width="200">
<template slot-scope="scope">
<span>{{ scope.row.guidePrice }}</span>
</template>
</el-table-column>
</el-table>
</el-form>
</div>
@ -247,25 +252,7 @@ export default {
insideCode: e.insideCode, //
vehicleName: e.modelName,
vehicleSid: e.modelSid,
guidePrice: '',
busVehicleApplySz: {
color: '',
coverPlate: '',
floorHeating: '',
otherConfig: '',
overallDimension: '',
plateMaterial: '',
plateThickness: '',
refitFactory: '',
refitMethod: '',
refrigerator: '',
szSid: '',
tarpaulinSlide: '',
topName: '',
vehicleFunction: '',
costPrice: '',
guidePrice: ''
}
guidePrice: ''
})
if (e.insideCode) {
this.isRead = true
@ -348,8 +335,26 @@ export default {
this.$refs['divShangzhuangpeizhi'].showData(index)
},
backPeizhi(val, index) {
console.log(val, index)
this.viewState = 1
const busVehicleApplySz = {
color: '',
coverPlate: '',
floorHeating: '',
otherConfig: '',
overallDimension: '',
plateMaterial: '',
plateThickness: '',
refitFactory: '',
refitMethod: '',
refrigerator: '',
szSid: '',
tarpaulinSlide: '',
topName: '',
vehicleFunction: '',
costPrice: '',
guidePrice: ''
}
this.formobj.busVehicleApplyDetailList[index].busVehicleApplySz = busVehicleApplySz
this.formobj.busVehicleApplyDetailList[index].busVehicleApplySz.color = val.colorValue
this.formobj.busVehicleApplyDetailList[index].busVehicleApplySz.coverPlate = val.selfUnHyCoPl
this.formobj.busVehicleApplyDetailList[index].busVehicleApplySz.floorHeating = val.floorHeating
@ -368,7 +373,7 @@ export default {
this.formobj.busVehicleApplyDetailList[index].busVehicleApplySz.guidePrice = ''
},
handleUpdate(row) {
if (row !== null) {
if (row !== null && row !== undefined) {
this.viewState = 4
this.$refs['divShangzhuangpeizhiAdd'].showInfo(row)
} else {

7
anrui-scm/anrui-scm-ui/src/views/workFlow/paichanguanliFlow/paichanguanli/cheliangpaichanYiBanInfo.vue

@ -89,7 +89,12 @@
</el-table-column>
<el-table-column label="上装信息" header-align="center" width="100" align="center">
<template slot-scope="scope">
<el-button type="primary" size="small" @click="handleLook(scope.row.busVehicleApplySz)">查看</el-button>
<el-button v-show="scope.row.busVehicleApplySz !== null" type="primary" size="small" @click="handleLook(scope.row.busVehicleApplySz)">查看</el-button>
</template>
</el-table-column>
<el-table-column label="上装销售指导价" align="center" width="200">
<template slot-scope="scope">
<span>{{ scope.row.guidePrice }}</span>
</template>
</el-table-column>
</el-table>

Loading…
Cancel
Save