Browse Source

供应商批号必传参数

master
rui_li 2 weeks ago
parent
commit
f4986444fb
  1. 7
      src/views/modules/purchasingManagement/beginMaterialSlittedSet.vue
  2. 7
      src/views/modules/purchasingManagement/searchSAPPurchaseOrder.vue
  3. 12
      src/views/modules/shopOrder/shopOrder/shopOrder.vue

7
src/views/modules/purchasingManagement/beginMaterialSlittedSet.vue

@ -712,6 +712,13 @@
},
saveCRoll() {
//
if(this.dataForm.suppRollNo==''||this.dataForm.suppRollNo==null){
this.$alert(this.labels.suppRollNoAsk, '错误', {
confirmButtonText: this.buttons.yes,
})
return false;
}
if(this.dataForm.checked==false){
return false;
}

7
src/views/modules/purchasingManagement/searchSAPPurchaseOrder.vue

@ -1197,6 +1197,13 @@ export default {
},
saveCRoll() {
//
if (this.dataForm.suppRollNo == '' || this.dataForm.suppRollNo == null) {
this.$alert(this.labels.suppRollNoAsk, '错误', {
confirmButtonText: this.buttons.yes
})
return false;
}
let inData = {
site: this.dataForm.site,
partNo: this.dataForm.fGPartNo

12
src/views/modules/shopOrder/shopOrder/shopOrder.vue

@ -679,7 +679,7 @@ export default {
data() {
return {
// JS
externalPrintJsUrl: 'http://192.168.31.128:9000/print_js/rongxin/print_order.js',
externalPrintJsUrl: 'http://localhost:9000/print_js/mes/print_order.js',
visible: false,
queryTable: {
functionId: this.$route.meta.menuId,
@ -1996,14 +1996,14 @@ export default {
},
mounted() {
// JS
const scriptId = 'external_print_js';
const scriptId = 'external_print_order';
if (!document.getElementById(scriptId)) {
const script = document.createElement('script');
script.id = scriptId;
script.type = 'text/javascript';
//
script.src = this.externalPrintJsUrl + '?t=' + new Date().getTime();
document.head.appendChild(script);
document.head.appendChild(script);
}
this.$nextTick(() => {
@ -2221,7 +2221,7 @@ export default {
if (LODOP && this.orderInfo) {
//LODOP.SET_LICENSES("", "7B5624CC84E599D6B17F27DF40F4310C", "", "");
LODOP.NewPage();
LODOP.SET_PRINT_PAGESIZE(0, 2400, 1400, "");
LODOP.SET_PRINT_PAGESIZE(0, 2100, 1480, "");
//
LODOP.SET_PRINT_MODE("RESELECT_ORIENT",true);
//
@ -2377,8 +2377,8 @@ export default {
LODOP.ADD_PRINT_TEXT(towTop, 552, 221, 30, this.dayjs().format('YYYY-MM-DD HH:mm:ss'));
LODOP.SET_PRINT_STYLEA(0, "FontSize", 14);
//LODOP.PRINT_DESIGN();
LODOP.PREVIEW();
LODOP.PRINT_DESIGN();
//LODOP.PREVIEW();
//LODOP.PRINT();
console.log("操作成功!")
}

Loading…
Cancel
Save