Commit b26f6a2b authored by hangjun83's avatar hangjun83

罗恩工具类更新

parent 0c25be75
...@@ -97,7 +97,7 @@ export default { ...@@ -97,7 +97,7 @@ export default {
form: { form: {
name: '', name: '',
orderNo: '', orderNo: '',
itemId: 0, itemId: [],
pId: 0, pId: 0,
handleFee: 0, handleFee: 0,
refundNums: [], refundNums: [],
...@@ -131,6 +131,7 @@ export default { ...@@ -131,6 +131,7 @@ export default {
}, ], }, ],
handleFee: [{ handleFee: [{
required: true, required: true,
type: "number",
message: "请输入手续费费用", message: "请输入手续费费用",
}, ] }, ]
}, },
...@@ -552,7 +553,7 @@ export default { ...@@ -552,7 +553,7 @@ export default {
} }
this.form.orderNo = v.soNo this.form.orderNo = v.soNo
this.form.itemId = v.siId this.form.itemId.push(v.siId)
this.form.pId = v.pId this.form.pId = v.pId
this.selectRowVisible = true this.selectRowVisible = true
...@@ -593,6 +594,7 @@ export default { ...@@ -593,6 +594,7 @@ export default {
this.showAddSorderTask = true; this.showAddSorderTask = true;
}, },
submit() { submit() {
console.info(this.form)
this.$refs.form.validate((valid) => { this.$refs.form.validate((valid) => {
if (valid) { if (valid) {
this.submitloading = true; this.submitloading = true;
...@@ -710,6 +712,7 @@ export default { ...@@ -710,6 +712,7 @@ export default {
}).then((res) => { }).then((res) => {
this.submitLoading = false; this.submitLoading = false;
if (res.status == 'success') { if (res.status == 'success') {
this.form.refundNums = []
for (let index in res.data) { for (let index in res.data) {
res.data[index]._checked = true res.data[index]._checked = true
this.selectRowData.push(res.data[index]) this.selectRowData.push(res.data[index])
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment