|
@@ -239,81 +239,81 @@ export default {
|
|
|
showSummary: true,
|
|
|
sumColumnList: [
|
|
|
{
|
|
|
- name: 'goodsTotalNum',
|
|
|
- type: 'sum',
|
|
|
- decimals: 0
|
|
|
- },
|
|
|
- {
|
|
|
- name: 'totalMoney',
|
|
|
- type: 'sum',
|
|
|
- decimals: 2
|
|
|
- },
|
|
|
- {
|
|
|
- name: 'fundingAmount',
|
|
|
- type: 'sum',
|
|
|
- decimals: 2
|
|
|
- },
|
|
|
- {
|
|
|
- name: 'useAdvanceChargeAmount',
|
|
|
- type: 'sum',
|
|
|
- decimals: 2
|
|
|
- },
|
|
|
- {
|
|
|
- name: 'produceAdvanceChargeAmount',
|
|
|
- type: 'sum',
|
|
|
- decimals: 2
|
|
|
- },
|
|
|
- {
|
|
|
- name: 'bondAmount',
|
|
|
- type: 'sum',
|
|
|
- decimals: 2
|
|
|
- },
|
|
|
- {
|
|
|
- name: 'interest',
|
|
|
- type: 'sum',
|
|
|
- decimals: 2
|
|
|
- },
|
|
|
- {
|
|
|
- name: 'goodsTotalShipNum',
|
|
|
- type: 'sum',
|
|
|
- decimals: 0
|
|
|
- },
|
|
|
- {
|
|
|
- name: 'goodsTotalShipAmount',
|
|
|
- type: 'sum',
|
|
|
- decimals: 2
|
|
|
- },
|
|
|
- {
|
|
|
- name: 'outGoodsTotalShipNum',
|
|
|
- type: 'sum',
|
|
|
- decimals: 0
|
|
|
- },
|
|
|
- {
|
|
|
- name: 'outGoodsTotalShipAmount',
|
|
|
- type: 'sum',
|
|
|
- decimals: 2
|
|
|
- },
|
|
|
- {
|
|
|
- name: 'surplusShipNum',
|
|
|
- type: 'sum',
|
|
|
- decimals: 0
|
|
|
- },
|
|
|
- {
|
|
|
- name: 'surplusShipAmount',
|
|
|
- type: 'sum',
|
|
|
- decimals: 2
|
|
|
- },
|
|
|
- {
|
|
|
- name: 'primaryFundingAmount',
|
|
|
- type: 'sum',
|
|
|
- decimals: 2
|
|
|
- },
|
|
|
- {
|
|
|
- name: 'primaryGoodsTotalNum',
|
|
|
- type: 'sum',
|
|
|
- decimals: 0
|
|
|
- }
|
|
|
- ],
|
|
|
+ name: 'goodsTotalNum',
|
|
|
+ type: 'sum',
|
|
|
+ decimals: 0
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: 'totalMoney',
|
|
|
+ type: 'sum',
|
|
|
+ decimals: 2
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: 'fundingAmount',
|
|
|
+ type: 'sum',
|
|
|
+ decimals: 2
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: 'useAdvanceChargeAmount',
|
|
|
+ type: 'sum',
|
|
|
+ decimals: 2
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: 'produceAdvanceChargeAmount',
|
|
|
+ type: 'sum',
|
|
|
+ decimals: 2
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: 'bondAmount',
|
|
|
+ type: 'sum',
|
|
|
+ decimals: 2
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: 'interest',
|
|
|
+ type: 'sum',
|
|
|
+ decimals: 2
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: 'goodsTotalShipNum',
|
|
|
+ type: 'sum',
|
|
|
+ decimals: 0
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: 'goodsTotalShipAmount',
|
|
|
+ type: 'sum',
|
|
|
+ decimals: 2
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: 'outGoodsTotalShipNum',
|
|
|
+ type: 'sum',
|
|
|
+ decimals: 0
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: 'outGoodsTotalShipAmount',
|
|
|
+ type: 'sum',
|
|
|
+ decimals: 2
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: 'surplusShipNum',
|
|
|
+ type: 'sum',
|
|
|
+ decimals: 0
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: 'surplusShipAmount',
|
|
|
+ type: 'sum',
|
|
|
+ decimals: 2
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: 'primaryFundingAmount',
|
|
|
+ type: 'sum',
|
|
|
+ decimals: 2
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: 'primaryGoodsTotalNum',
|
|
|
+ type: 'sum',
|
|
|
+ decimals: 0
|
|
|
+ }
|
|
|
+ ],
|
|
|
column: [
|
|
|
{
|
|
|
label: '供应商',
|
|
@@ -379,6 +379,12 @@ export default {
|
|
|
value: 'cname'
|
|
|
},
|
|
|
dicUrl: '/api/blade-sales-part/storageDesc/listAll?cname={{key}}',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: '订单保证金',
|
|
|
+ prop: "primaryBondAmount",
|
|
|
+ width:100,
|
|
|
+ disabled: true,
|
|
|
}, {
|
|
|
label: '订单数量',
|
|
|
prop: "primaryGoodsTotalNum",
|
|
@@ -660,7 +666,7 @@ export default {
|
|
|
},
|
|
|
confirm(row, index, type) {
|
|
|
if (type == 1) {
|
|
|
- if(row.goodsTotalShipNum==0) return this.$message.error("入库数量为0,请先入库");
|
|
|
+ if (row.goodsTotalShipNum == 0) return this.$message.error("入库数量为0,请先入库");
|
|
|
this.$confirm('采购数量:' + row.goodsTotalNum + ',金额:' + row.totalMoney + '<br/>到货数量:' + row.goodsTotalShipNum + ',金额:' + row.goodsTotalShipAmount, '提示', {
|
|
|
confirmButtonText: '确定',
|
|
|
cancelButtonText: '取消',
|