|
@@ -73,15 +73,15 @@
|
|
</el-radio-group>
|
|
</el-radio-group>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
-<!-- <el-col :span="24" :sm="12" :lg="12" >-->
|
|
|
|
-<!-- <el-form-item label="计划单" prop="isPlanOrder">-->
|
|
|
|
-<!-- <el-radio-group v-model="mainForm.isPlanOrder">-->
|
|
|
|
-<!-- <el-radio :label="true">是</el-radio>-->
|
|
|
|
-<!-- <el-radio :label="false">否</el-radio>-->
|
|
|
|
-<!-- </el-radio-group>-->
|
|
|
|
-<!-- <span style="color: #ff0000; margin-left: 20px">注:如需开直调单,请下计划单,不要下非计划单</span>-->
|
|
|
|
-<!-- </el-form-item>-->
|
|
|
|
-<!-- </el-col>-->
|
|
|
|
|
|
+ <!-- <el-col :span="24" :sm="12" :lg="12" >-->
|
|
|
|
+ <!-- <el-form-item label="计划单" prop="isPlanOrder">-->
|
|
|
|
+ <!-- <el-radio-group v-model="mainForm.isPlanOrder">-->
|
|
|
|
+ <!-- <el-radio :label="true">是</el-radio>-->
|
|
|
|
+ <!-- <el-radio :label="false">否</el-radio>-->
|
|
|
|
+ <!-- </el-radio-group>-->
|
|
|
|
+ <!-- <span style="color: #ff0000; margin-left: 20px">注:如需开直调单,请下计划单,不要下非计划单</span>-->
|
|
|
|
+ <!-- </el-form-item>-->
|
|
|
|
+ <!-- </el-col>-->
|
|
</el-row>
|
|
</el-row>
|
|
</el-form>
|
|
</el-form>
|
|
|
|
|
|
@@ -141,6 +141,7 @@
|
|
<el-input v-model="scope.row.qty" class="yinput" size="small" />
|
|
<el-input v-model="scope.row.qty" class="yinput" size="small" />
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
|
+ <el-table-column align="right" label="退订数量" prop="" min-width="100" show-overflow-tooltip />
|
|
<el-table-column align="right" label="订单金额" min-width="100" prop="compute_amount" show-overflow-tooltip>
|
|
<el-table-column align="right" label="订单金额" min-width="100" prop="compute_amount" show-overflow-tooltip>
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
{{ (scope.row.price * scope.row.qty) | numToFixed }}
|
|
{{ (scope.row.price * scope.row.qty) | numToFixed }}
|
|
@@ -323,7 +324,7 @@
|
|
:close-on-click-modal="false"
|
|
:close-on-click-modal="false"
|
|
title="引用销售政策"
|
|
title="引用销售政策"
|
|
@close="handleClose"
|
|
@close="handleClose"
|
|
- :append-to-body="true"
|
|
|
|
|
|
+ :append-to-body="true"
|
|
>
|
|
>
|
|
<template>
|
|
<template>
|
|
<el-form ref="screenForm" :model="screenForm" label-width="120px" label-position="left" size="small">
|
|
<el-form ref="screenForm" :model="screenForm" label-width="120px" label-position="left" size="small">
|
|
@@ -856,7 +857,6 @@ export default {
|
|
newValue.forEach((item, index) => {
|
|
newValue.forEach((item, index) => {
|
|
this.goodsList[index].policyConditionId = this.policyConditionId
|
|
this.goodsList[index].policyConditionId = this.policyConditionId
|
|
if (this.correspondId) {
|
|
if (this.correspondId) {
|
|
-
|
|
|
|
this.goodsList[index].correspondName = this.correspondName
|
|
this.goodsList[index].correspondName = this.correspondName
|
|
this.goodsList[index].correspondId = this.correspondId
|
|
this.goodsList[index].correspondId = this.correspondId
|
|
}
|
|
}
|
|
@@ -1053,7 +1053,6 @@ export default {
|
|
this.screenForm.policyId = this.policyId
|
|
this.screenForm.policyId = this.policyId
|
|
if (this.listItem) {
|
|
if (this.listItem) {
|
|
this.policyConditionId = data[0].id
|
|
this.policyConditionId = data[0].id
|
|
-
|
|
|
|
}
|
|
}
|
|
} else {
|
|
} else {
|
|
this.screenForm.policyId = data[0].policyId
|
|
this.screenForm.policyId = data[0].policyId
|
|
@@ -1467,7 +1466,7 @@ export default {
|
|
|
|
|
|
getDetail({ id: this.listItem.id }).then(res => {
|
|
getDetail({ id: this.listItem.id }).then(res => {
|
|
const data = res.data
|
|
const data = res.data
|
|
- console.log(data,99);
|
|
|
|
|
|
+ console.log(data, 99)
|
|
this.mainForm.date = data.theTime
|
|
this.mainForm.date = data.theTime
|
|
this.mainForm.type = data.mainId
|
|
this.mainForm.type = data.mainId
|
|
this.mainForm.remark = data.remark
|
|
this.mainForm.remark = data.remark
|
|
@@ -1510,7 +1509,7 @@ export default {
|
|
})
|
|
})
|
|
})
|
|
})
|
|
this.goodsList = data.retailOrderItemList
|
|
this.goodsList = data.retailOrderItemList
|
|
- console.log(this.goodsList);
|
|
|
|
|
|
+ console.log(this.goodsList)
|
|
})
|
|
})
|
|
})
|
|
})
|
|
},
|
|
},
|
|
@@ -1714,7 +1713,7 @@ export default {
|
|
|
|
|
|
// 重置筛选表单
|
|
// 重置筛选表单
|
|
resetScreenForm() {
|
|
resetScreenForm() {
|
|
- this.$refs.screenForm.resetFields()
|
|
|
|
|
|
+ this.$refs.screenForm.resetFields()
|
|
this.currentPage = 1
|
|
this.currentPage = 1
|
|
this.getGoodsList()
|
|
this.getGoodsList()
|
|
},
|
|
},
|
|
@@ -1899,13 +1898,12 @@ export default {
|
|
policyId: this.policyId,
|
|
policyId: this.policyId,
|
|
fileNo: this.mainForm.fileNum
|
|
fileNo: this.mainForm.fileNum
|
|
}
|
|
}
|
|
- console.log(params,this.policyConditionId)
|
|
|
|
|
|
+ console.log(params, this.policyConditionId)
|
|
if (this.listItem) {
|
|
if (this.listItem) {
|
|
params.id = this.listItem.id
|
|
params.id = this.listItem.id
|
|
editData(params).then(res => {
|
|
editData(params).then(res => {
|
|
this.$successMsg('编辑成功')
|
|
this.$successMsg('编辑成功')
|
|
this.goBack()
|
|
this.goBack()
|
|
-
|
|
|
|
})
|
|
})
|
|
} else {
|
|
} else {
|
|
params.retailOrderItemList.forEach(k => {
|
|
params.retailOrderItemList.forEach(k => {
|
|
@@ -1915,7 +1913,6 @@ export default {
|
|
addData(params).then(res => {
|
|
addData(params).then(res => {
|
|
this.$successMsg('添加成功')
|
|
this.$successMsg('添加成功')
|
|
this.goBack()
|
|
this.goBack()
|
|
-
|
|
|
|
})
|
|
})
|
|
}
|
|
}
|
|
}
|
|
}
|