gjy 1 year ago
parent
commit
35a74f647f
3 changed files with 23 additions and 1 deletions
  1. 7 0
      pages.json
  2. 5 1
      pages/task/audit/freight_setting_details.vue
  3. 11 0
      pages/task/my_task.vue

+ 7 - 0
pages.json

@@ -189,6 +189,13 @@
 				"navigationBarTitleText": "代储合同审核"
 			}
 		},
+		{
+			"path": "pages/task/audit/sales_shift",
+			"style": {
+				"enablePullDownRefresh": false,
+				"navigationBarTitleText": "销售转移审核"
+			}
+		},
 		{
 			"path": "pages/task/audit/purchasecontract",
 			"style": {

+ 5 - 1
pages/task/audit/freight_setting_details.vue

@@ -36,13 +36,17 @@
 				<u-form-item label="收货地址" prop="receiveDetailedAddress" label-width="140">
 					<u-input v-model="list.receiveDetailedAddress" input-align="right" placeholder="收货地址" disabled />
 				</u-form-item>
-				<u-form-item label="运费(元/吨)" prop="tranPrice" label-width="250">
+				<u-form-item label="运费(元)" prop="tranPrice" label-width="250">
 					<u-input v-if='list.billingMethod==2&&list.tranPriceCar!=0' v-model="list.tranPriceCar" input-align="right" placeholder="请输入运费单价" disabled/>
 					<u-input v-else-if='list.billingMethod==2&&list.tranPriceCar==0' v-model="list.tranPriceIngCar" input-align="right" placeholder="请输入运费单价" disabled/>
 					<u-input v-else-if='list.billingMethod==1&&list.tranPrice==0' v-model="list.tranPriceIng" input-align="right" placeholder="请输入运费单价" disabled/>
 					<u-input v-else-if='list.tranPrice' v-model="list.tranPrice" input-align="right" placeholder="请输入运费单价" disabled/>
 					<u-input v-else v-model="list.tranPriceIng" input-align="right" placeholder="请输入运费单价" disabled/>
 				</u-form-item>
+				<u-form-item label="货值" prop="tranPrice" label-width="250">
+					<u-input  v-model="list.goodsValue" input-align="right"
+						placeholder="请输入货值" />
+				</u-form-item>
 			</u-form>
 		</view>
 		<u-form ref="uForm">

+ 11 - 0
pages/task/my_task.vue

@@ -819,6 +819,17 @@
 						})
 					}
 				}
+				else if (item.businessCode == 'WAREHOUSING-XSZY-APPROVE') {
+					if (this.statusFlag == 1) {
+						uni.navigateTo({
+							url: `/pages/task/audit/sales_shift?id=` + item.businessId 
+						})
+					} else {
+						uni.navigateTo({
+							url: `/pages/task/audit/sales_shift?id=` + item.businessId 
+						})
+					}
+				}
 
 				if (item.taskType == "入库任务") {