diff --git a/src/views/Inventory/PickingList/index.vue b/src/views/Inventory/PickingList/index.vue
index d28d6e04..9419b230 100644
--- a/src/views/Inventory/PickingList/index.vue
+++ b/src/views/Inventory/PickingList/index.vue
@@ -168,6 +168,11 @@
{{ scope.row.待出库数量 }}
+
+
+ {{ scope.row.待出库数量 }}
+
+
{{ scope.row.仓库名称 }}
@@ -904,7 +909,7 @@ export default {
} else {
this.$refs['form1'].validate((valid) => {
if (valid) {
- addListDetail(this.pickingListNumberx, this.partProjectNumber, this.partMachineNumber, this.partGroupNumber, this.form.outNumber, this.partType, this.form.outNote, this.craftplannumber, this.receive, this.purchaseDetailNum, this.askPurchaseNumber, this.locatenumber, this.outType, this.materialLocate, this.materialName, this.materialType, this.materialNumber, this.materialNumber, this.material).then(response => {
+ addListDetail(this.pickingListNumberx, this.partProjectNumber, this.partMachineNumber, this.partGroupNumber, this.form1.outNumber, this.partType, this.form1.outNote, this.craftplannumber, this.receive, this.purchaseDetailNum, this.askPurchaseNumber, this.locatenumber, this.outType, this.materialLocate, this.materialName, this.materialType, this.materialNumber, this.materialNumber, this.material).then(response => {
if (response.data[0].result === '1') {
this.$message.success('增加成功')
this.searchPartinfo()
diff --git a/src/views/PurchasingCenter/OfflineContract/index.vue b/src/views/PurchasingCenter/OfflineContract/index.vue
index 8590800a..32fb60b0 100644
--- a/src/views/PurchasingCenter/OfflineContract/index.vue
+++ b/src/views/PurchasingCenter/OfflineContract/index.vue
@@ -141,9 +141,9 @@
- 编辑中
- 已采购
- 全部到货
+ 编辑中
+ 已采购
+ 全部到货
@@ -596,6 +596,15 @@ export default {
this.searchTable2()
},
methods: {
+ editing(row) {
+ return Number(row.离线合同状态) === 1
+ },
+ purchasing(row) {
+ return Number(row.离线合同状态) === 2 && Number(row.总采购数量) !== Number(row.总到货数量)
+ },
+ arrival(row) {
+ return Number(row.总采购数量) === Number(row.总到货数量) && Number(row.总采购数量) !== 0
+ },
useqrcode(contractNum) {
const opts = {
errorCorrectionLevel: 'H',