Commit 163add41 by zhangxw

联调修改

1 parent a8c8f439
......@@ -167,7 +167,7 @@ export default {
label: '入库状态',
prop: 'putStatus',
formatter: (cellValue) => {
return this.baseData.putStatusOptions.find(item => item.confId == cellValue.putStatus)?.confLabel || '-'
return this.baseData.putStatusOptions.find(item => item.confId === `${cellValue.putStatus}`)?.confLabel || '-'
},
className: (cellValue) => {
return {
......
......@@ -39,7 +39,7 @@
</template>
<script>
import { batchDelicery } from "@/api/purchaseShopping.js"
import { batchDelicery } from "@/api/stockManage.js"
import { baseConfig } from "@/main"
import { limitPrice } from "@/common/format"
import { Util } from "@/common/util"
......@@ -241,16 +241,17 @@ export default {
orderCode: this.paramsObj.allocateCode,
deliveryDetailList: []
}
console.log(this.tableList)
for (let idx = 0; idx < this.tableList.length; idx++) {
const item = this.tableList[idx]
if (this.nowPurNumList[idx] && this.nowPurNumList[idx] != 0) {
params.deliveryDetailList.push({
id: item.goodsId,
id: item.detailId,
purchaseNumber: this.nowPurNumList[idx],
})
}
}
batchDelicery({ dataString: JSON.stringify(params) })
batchDelicery(params)
.then((res) => {
this.handleShipmentClose(true)
this.notice.okTips()
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!