xiugai
This commit is contained in:
@@ -229,6 +229,8 @@ export default {
|
||||
// this.$set(this.billData.list,this.billData.index,this.billAddData)
|
||||
this.$message.success(res.msg)
|
||||
this.dialogDelivery = false
|
||||
this.$forceUpdate()
|
||||
this.$emit("closeWindow")
|
||||
}
|
||||
})
|
||||
},
|
||||
@@ -248,6 +250,7 @@ export default {
|
||||
// this.$set(this.billData.list,index,this.billAddData)
|
||||
this.$message.success(res.msg)
|
||||
this.dialogBillAdd = false
|
||||
this.$emit("closeWindow");
|
||||
}
|
||||
})
|
||||
})
|
||||
@@ -367,8 +370,8 @@ export default {
|
||||
closeWindow() {
|
||||
this.$emit("closeWindow");
|
||||
this.form = {};
|
||||
this.$refs.form.clearValidate();
|
||||
this.controlWindows.bill = false;
|
||||
this.$refs.form.clearValidate();
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
@@ -134,7 +134,7 @@
|
||||
<el-link type="primary" :underline="false" @click="detail(row)"
|
||||
>详情</el-link
|
||||
>
|
||||
<el-link v-show="row.orderStatus!=='SUBMITED'&&row.orderStatus!=='ORDER_LOCKED'" type="primary" :underline="false" @click="billOfLading(row)"
|
||||
<el-link v-show="row.orderStatus!=='SUBMITED'&&row.orderStatus!=='ORDER_LOCKED'&&row.payStatus!=='REFUNDED'" type="primary" :underline="false" @click="billOfLading(row)"
|
||||
>提货单</el-link
|
||||
>
|
||||
<el-popconfirm
|
||||
@@ -151,7 +151,7 @@
|
||||
icon-color="red"
|
||||
@confirm="orderCencle(row)"
|
||||
>
|
||||
<el-link v-show="row.orderStatus!=='CANCELED'" slot="reference" type="primary" :underline="false"
|
||||
<el-link v-show="row.orderStatus!=='CANCELED'&&row.payStatus!=='REFUNDED'" slot="reference" type="primary" :underline="false"
|
||||
>{{row.orderStatus=='SUBMITED'||row.orderStatus=='ORDER_LOCKED'?'订单取消':'订单退款'}}</el-link
|
||||
>
|
||||
</el-popconfirm>
|
||||
|
||||
@@ -98,7 +98,6 @@
|
||||
|
||||
<script>
|
||||
import serve from "api/product.js";
|
||||
import refineryInfoServe from "api/refineryInfo.js";
|
||||
|
||||
import autocomplete from "components/autocomplete/index.vue";
|
||||
export default {
|
||||
@@ -139,7 +138,7 @@ export default {
|
||||
refineryList: [],
|
||||
productRowData:{},
|
||||
configAutocomplete: {
|
||||
serveTarget: refineryInfoServe.findByEntity,
|
||||
serveTarget: serve.findByEntity,
|
||||
autocompleteKey: "refineryName",
|
||||
labelKey: "refineryName",
|
||||
valueKey: "id",
|
||||
@@ -216,7 +215,13 @@ export default {
|
||||
enableMark:'ENABLE'
|
||||
}
|
||||
await serve.getRefineryProductList(data).then((res) => {
|
||||
this.productNameList = res.data;
|
||||
if(res.data.length>0){
|
||||
this.productNameList = res.data;
|
||||
}else{
|
||||
this.productNameList = []
|
||||
this.form.productId = ''
|
||||
}
|
||||
|
||||
})
|
||||
// this.form.productId = this.productNameList[0].productId
|
||||
console.log(this.productRowData,this.productNameList,'aaaaaaaaaa')
|
||||
|
||||
@@ -269,9 +269,9 @@ export default {
|
||||
},
|
||||
],
|
||||
configAutocomplete: {
|
||||
serveTarget: refineryInfoServe.findByEntity,
|
||||
autocompleteKey: "refineryName",
|
||||
labelKey: "refineryName",
|
||||
serveTarget: serve.findByEntity,
|
||||
autocomplateKey: "refineryName",
|
||||
valueKey: "refineryName",
|
||||
valueKey: "id",
|
||||
placeholder: "炼厂名称",
|
||||
querykey: "refineryId",
|
||||
|
||||
Reference in New Issue
Block a user