From c9e862d84e0ea76fc5f954ae84b18a37b00210c6 Mon Sep 17 00:00:00 2001 From: spring <2396852758@qq.com> Date: 星期一, 24 三月 2025 09:50:01 +0800 Subject: [PATCH] 原材料下单修改 --- src/views/business/materialOrder/customsInspection.vue | 27 ++++++++++++++------------- 1 files changed, 14 insertions(+), 13 deletions(-) diff --git a/src/views/business/materialOrder/customsInspection.vue b/src/views/business/materialOrder/customsInspection.vue index 2a70ad4..b409062 100644 --- a/src/views/business/materialOrder/customsInspection.vue +++ b/src/views/business/materialOrder/customsInspection.vue @@ -123,13 +123,13 @@ </el-select> </el-form-item> </el-col> - <el-col :span="6"> + <!-- <el-col :span="6"> <el-form-item class="addObj-form-item" label="绾﹀畾鏃堕棿:" prop="appointed"> <el-date-picker v-model="addObj.appointed" :disabled="active > 1" format="yyyy-MM-dd" placeholder="閫夋嫨鏃ユ湡" size="small" style="width: 100%" type="date" value-format="yyyy-MM-dd"> </el-date-picker> </el-form-item> - </el-col> + </el-col> --> <el-col :span="6"> <el-form-item class="addObj-form-item" label="澶囨敞:"> <el-input v-model="addObj.remark" :autosize="{ minRows: 2, maxRows: 2 }" :disabled="active > 1" @@ -194,8 +194,9 @@ </el-table-column> <el-table-column v-if="!(active > 1)" align="center" label="鍨嬪彿鍙傛暟" prop="modelNum" width="130"> <template slot-scope="scope"> - <el-input v-model="scope.row.modelNum" :disabled="active > 1 || scope.$index !== 0" clearable placeholder="闈炲繀濉�" - size="small" @input="methodChange(scope.row.standardMethodListId, scope.row)"></el-input> + <el-input v-model="scope.row.modelNum" :disabled="active > 1 || scope.$index !== 0" clearable + placeholder="闈炲繀濉�" size="small" + @input="methodChange(scope.row.standardMethodListId, scope.row)"></el-input> </template> </el-table-column> <el-table-column align="center" label="妫�楠屾爣鍑�" min-width="100" prop="standardMethodListId"> @@ -271,8 +272,8 @@ </el-table-column> <el-table-column label="瑕佹眰鎻忚堪" min-width="220px" prop="tell"> <template slot-scope="scope"> - <el-input v-if="active == 1 && isAskOnlyRead" v-model="scope.row.tell" :autosize="{ minRows: 1, maxRows: 3 }" - clearable placeholder="瑕佹眰鎻忚堪" size="small" type="textarea" + <el-input v-if="active == 1 && isAskOnlyRead" v-model="scope.row.tell" + :autosize="{ minRows: 1, maxRows: 3 }" clearable placeholder="瑕佹眰鎻忚堪" size="small" type="textarea" @change="e => requestChange(e, scope.row, 'tell')"></el-input> <span v-else> <template>{{ scope.row.tell }}</template> @@ -314,8 +315,8 @@ <div class="search_label" style="width: 80px;">瑕佹眰鍊硷細</div> <div class="search_input"> <el-radio-group v-model="item.bsm1Val" v-removeAriaHidden @input="upBsmAll(item)"> - <el-radio v-for="(a, ai) in JSON.parse(item.bsmRow.sectionCopy)" :key="ai" - :label="a">{{ JSON.parse(item.bsmRow.askCopy)[ai] }}</el-radio> + <el-radio v-for="(a, ai) in JSON.parse(item.bsmRow.sectionCopy)" :key="ai" :label="a">{{ + JSON.parse(item.bsmRow.askCopy)[ai] }}</el-radio> </el-radio-group> </div> </el-col> @@ -609,11 +610,9 @@ this.customsInspection = this.$route.query.customsInspection this.getInfo(); }, - getInfo() { - this.getUserNowList() // 鑾峰彇褰撳墠鐢ㄦ埛淇℃伅 - this.selectStandardMethods() // 鑾峰彇妫�楠屾爣鍑嗕笅鎷夋鏁版嵁 - this.getInfo() // 鑾峰彇鏁版嵁 - }, + // getInfo() { + // this.getInfo() // 鑾峰彇鏁版嵁 + // }, methods: { save1() { if (this.bsm1DiaList.length > 0) { @@ -654,6 +653,8 @@ }, // 鑾峰彇鏁版嵁 getInfo() { + this.getUserNowList() // 鑾峰彇褰撳墠鐢ㄦ埛淇℃伅 + this.selectStandardMethods() // 鑾峰彇妫�楠屾爣鍑嗕笅鎷夋鏁版嵁 if (this.active == 2) { let orderId = '' if (!this.customsInspection.enterOrderId && this.customsInspection.quarterOrderId) { -- Gitblit v1.9.3