申购单据产品查询修改,提交采购订单修改

pro
anthonywj 2 years ago
parent b7e1e1bcab
commit c3dc2e4b5f

@ -8,9 +8,9 @@ ENV = 'production'
#林纪裕cd #林纪裕cd
VUE_APP_BASE_API = 'http://r.jiyuudims.cloud:5003/UDI_WMS_MC/' # VUE_APP_BASE_API = 'http://r.jiyuudims.cloud:5003/UDI_WMS_MC/'
# VUE_APP_BASE_API = 'http://127.0.0.1:9150/UDI_WMS_MC/' VUE_APP_BASE_API = 'http://127.0.0.1:9150/UDI_WMS_MC/'
# 测试服务器 # 测试服务器
# VUE_APP_BASE_API = 'http://192.168.0.66:9150/UDI_WMS_MC/' # VUE_APP_BASE_API = 'http://192.168.0.66:9150/UDI_WMS_MC/'

@ -6,7 +6,7 @@
</div> </div>
<el-form <el-form
class="card-box login-form" class="card-box login-form"
autocomplete="on+ autocomplete="on"
:model="ruleForm" :model="ruleForm"
:rules="rules" :rules="rules"
ref="ruleForm" ref="ruleForm"

@ -75,7 +75,8 @@
<el-divider style="margin: 15px"></el-divider> <el-divider style="margin: 15px"></el-divider>
<el-table :data="dataList" style="width: 100%" v-loading="loading" border highlight-current-row <el-table :data="dataList" style="width: 100%" v-loading="loading" border highlight-current-row
:row-class-name="tableRowClassName" @current-change="handleChange" @selection-change="handleSelectionChange" ref="multipleTable"> :row-class-name="tableRowClassName" @current-change="handleChange"
@selection-change="handleSelectionChange" ref="multipleTable">
<!--<el-table-column label width="45">--> <!--<el-table-column label width="45">-->
<!-- <template slot-scope="scope">--> <!-- <template slot-scope="scope">-->
<!-- <el-radio :label="scope.row.id" v-model="radioCheck"><span></span></el-radio>--> <!-- <el-radio :label="scope.row.id" v-model="radioCheck"><span></span></el-radio>-->
@ -348,15 +349,15 @@ export default {
this.$message.error('未选择产品'); this.$message.error('未选择产品');
return; return;
} }
debugger
if (this.ids.length > 0) { // if (this.ids.length > 0) {
for (var i = 0; i < this.ids.length; i++) { // for (var i = 0; i < this.ids.length; i++) {
if (this.ids[i] == this.multipleSelection.id) { // if (this.ids[i] == this.multipleSelection.id) {
this.$message.error("该产品已录入!"); // this.$message.error("");
return // return
} // }
} // }
} // }
// let str = this.multipleSelection.zczbhhzbapzbh; // let str = this.multipleSelection.zczbhhzbapzbh;

@ -351,6 +351,9 @@ export default {
if (this.$isBlank(this.codeArray[i].count) || this.codeArray[i].count == "0") { if (this.$isBlank(this.codeArray[i].count) || this.codeArray[i].count == "0") {
return this.$message.error('单据数量不能为0'); return this.$message.error('单据数量不能为0');
} }
if (this.$isBlank(this.codeArray[i].supName)) {
return this.$message.error('请选择产品对应供应商');
}
} }
} }
if (status == "1") { if (status == "1") {

Loading…
Cancel
Save