diff --git a/src/views/claimAndreturn/return/apply/component/home1.vue b/src/views/claimAndreturn/return/apply/component/home1.vue index 7d97a5b..d6106c5 100644 --- a/src/views/claimAndreturn/return/apply/component/home1.vue +++ b/src/views/claimAndreturn/return/apply/component/home1.vue @@ -52,7 +52,7 @@ - + > --> + 0) { @@ -757,6 +770,8 @@ export default { /** 重置按钮操作 */ resetQuery() { this.queryParams.time = [] + this.queryParams.typeId = '' + this.$refs.mychildSon.inputValue = '' // this.resetForm("queryForm"); this.$refs.queryForm.resetFields() this.initSelectData() @@ -782,7 +797,15 @@ export default { // isEdit: true, // }, // }) - this.$emit('rejectSubmit', { id: row.id, agreementId: row.agreementId }) + this.$emit('rejectSubmit', { + id: row.id, + agreementId: row.agreementId, + }) + }, + getTree() { + listPartTypeApi().then((response) => { + this.deptList = response.data + }) }, // 退料单 handleUpdateOrder() { diff --git a/src/views/store/newBuy/newDevices/newDevicesArrival.vue b/src/views/store/newBuy/newDevices/newDevicesArrival.vue index 3851dea..51d6038 100644 --- a/src/views/store/newBuy/newDevices/newDevicesArrival.vue +++ b/src/views/store/newBuy/newDevices/newDevicesArrival.vue @@ -492,9 +492,16 @@ export default { break } } + + // 如果有厂家则代入 + if (this.queryParams.supplierId) { + this.$set(row, 'supplierId', this.queryParams.supplierId) + } else { + this.$set(row, 'supplierId', '') + } this.$set(row, 'createTime', null) this.$set(row, 'productionTime', '') - this.$set(row, 'supplierId', '') + // this.$set(row, 'supplierId', '') this.$set(row, 'purchasePrice', 0) this.$set(row, 'purchaseNum', 1) this.equipmentList.unshift(row) diff --git a/src/views/warehouseManage/newPurchase/partsAcceptance/component/addParts.vue b/src/views/warehouseManage/newPurchase/partsAcceptance/component/addParts.vue index 40d21e0..853b301 100644 --- a/src/views/warehouseManage/newPurchase/partsAcceptance/component/addParts.vue +++ b/src/views/warehouseManage/newPurchase/partsAcceptance/component/addParts.vue @@ -87,7 +87,6 @@ filterable :disabled="isDisabled" style="width: 240px" - @change="changeSupplier" > { - this.$set(item, 'supplierId', supplierId) - }) - }, + // changeSupplier(supplierId) { + // this.equipmentList.forEach((item) => { + // this.$set(item, 'supplierId', supplierId) + // }) + // }, /** 新增按钮操作 */ handleSave() { if (this.equipmentList.length > 0) { diff --git a/src/views/warehouseManage/newPurchase/toolsAcceptance/component/addTools.vue b/src/views/warehouseManage/newPurchase/toolsAcceptance/component/addTools.vue index b09a6ec..feb27b1 100644 --- a/src/views/warehouseManage/newPurchase/toolsAcceptance/component/addTools.vue +++ b/src/views/warehouseManage/newPurchase/toolsAcceptance/component/addTools.vue @@ -41,7 +41,6 @@ clearable filterable style="width: 240px" - @change="changeSupplier" > { - this.$set(item, 'supplierId', supplierId) - }) - }, + // changeSupplier(supplierId) { + // this.equipmentList.forEach((item) => { + // this.$set(item, 'supplierId', supplierId) + // }) + // }, //选择出厂日期 changeTime(time) { console.log(time) diff --git a/vue.config.js b/vue.config.js index 2acd38b..254142b 100644 --- a/vue.config.js +++ b/vue.config.js @@ -42,12 +42,12 @@ module.exports = { // target: `https://test-cc.zhgkxt.com`,//线上环境-南网 // target: `https://z.csgmall.com.cn`, - // target: `http://192.168.2.141:39080`, //超 + target: `http://192.168.2.152:39080`, //超 // target: `http://10.40.92.81:8080`, //韩/ - target: `http://192.168.2.81:39080`,//旭/ + // target: `http://192.168.2.81:39080`,//旭/ // target: `http://10.40.92.138:28080`, //帅 // target: `http://192.168.2.218:39080`, //福 - // target: `http://192.168.2.120:39080`, //跃o + // target: `http://192.168.2.120:39080`, //跃 //******** 注意事项 ********* */ //1.全局替换qrUrl二维码扫码提供的网址-发布服务器的地址target;