业务单据功能提交

pro
郑明梁 2 years ago
parent 0960540330
commit af714e956b

@ -328,17 +328,14 @@ export default {
if (this.ids.length > 0) {
for (var i = 0; i < this.ids.length; i++) {
if (this.ids[i] == this.multipleSelection.rlId) {
if (this.ids[i] == this.multipleSelection.id) {
this.$message.error("该产品已录入!");
return
}
}
}
if (!this.multipleSelection.companyName) {
this.$message.error("配送企业为空!请重新选择!");
return;
}
let str = this.multipleSelection.zczbhhzbapzbh;
if (str.search(",") != -1) {
this.currentCert = null;
@ -352,7 +349,7 @@ export default {
combine() {
this.loading = true;
let tQuery = {
productId: this.multipleSelection.rlId,
productId: this.multipleSelection.id,
productName: this.multipleSelection.cpmctymc,
count: 1,
orderIdFk: this.pId,

@ -165,7 +165,7 @@
<el-option v-for="item in suppliers"
:key="item.erpId"
:label="item.name"
:value="item.name">
:value="item.erpId">
</el-option>
</el-select>
</template>
@ -441,7 +441,7 @@ export default {
this.selectedIndex = val.index;
filterSupList({productId:val.productId}) //
.then((response) => {
this.suppliers = response.data.list || [];
this.suppliers = response.data || [];
})
.catch(() => {

Loading…
Cancel
Save