diff --git a/src/api/firstOrder/outbound.js b/src/api/firstOrder/outbound.js
index 932ccdb..e32686d 100644
--- a/src/api/firstOrder/outbound.js
+++ b/src/api/firstOrder/outbound.js
@@ -57,10 +57,12 @@ export const submitData = (sizeForm) => {
cryptoData: false
})
}
-export const getMaterialList = () => {
+export const getMaterialList = (optionType) => {
+ console.log('api中的数据', optionType)
return request({
url: '/smartpark/oneForm/getPutOneFormList',
method: 'get',
+ params: optionType,
cryptoToken: false,
cryptoData: false
})
diff --git a/src/views/demandOrder/index.vue b/src/views/demandOrder/index.vue
index a44b160..82c6ea6 100644
--- a/src/views/demandOrder/index.vue
+++ b/src/views/demandOrder/index.vue
@@ -61,8 +61,8 @@ export default {
label: "提交时间",
prop: "optTime",
type: "date",
- format: "yyyy-MM-dd",
- valueFormat: "yyyy-MM-dd",
+ format: "yyyy-MM-dd HH:mm:ss",
+ valueFormat: "yyyy-MM-dd HH:mm:ss",
headerAlign: "center",
align: "center",
},
diff --git a/src/views/firstOrder/components/consumableDialog.vue b/src/views/firstOrder/components/consumableDialog.vue
new file mode 100644
index 0000000..686a9c5
--- /dev/null
+++ b/src/views/firstOrder/components/consumableDialog.vue
@@ -0,0 +1,269 @@
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/firstOrder/components/inDialog.vue b/src/views/firstOrder/components/inDialog.vue
index b4fe825..bad5279 100644
--- a/src/views/firstOrder/components/inDialog.vue
+++ b/src/views/firstOrder/components/inDialog.vue
@@ -1,291 +1,301 @@
+ :append-to-body="true" width="70%" @close="handleCloseDetail" fullscreen class="dialog-container">
-
- 基本信息
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 批量选择
- 单项选择
-
-
-
-
-
-
-
-
-
- {{ inDate }}
- 新增
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ scope.row.type == 'NY' ? '耐用品' : '易耗品' }}
-
-
-
-
- {{ scope.row.requiredQuantity || 0 }}
-
-
-
-
- {{ scope.row.inboundQuantity || 0 }}
-
-
-
-
-
- {{ scope.row.theInboundQuantity === undefined ? 0 : scope.row.theInboundQuantity }}
-
-
-
-
-
- -
- {{ scope.row.unitPrice || 0 }}
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ scope.row.materialName }}
-
-
-
-
-
-
-
-
-
- {{ scope.row.type == 'NY' ? '耐用品' : '易耗品' }}
-
-
-
-
-
- {{ scope.row.requiredQuantity || 0 }}
-
-
-
-
-
-
-
- {{ scope.row.theInboundQuantity || 0 }}
-
-
-
-
-
- -
- {{ scope.row.unitPrice || 0 }}
-
-
-
-
- 入库账目表格:
-
-
-
+
+
+ 基本信息
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 批量选择
+ 单项选择
+
+
+
+
+
+
+
+
+
+ {{ inDate }}
+ 新增
+
+
+
+
-
- {{ scope.row.type === "NY" ? "耐用品" : (scope.row.type === "YH" ? "易耗品" : "") }}
+
+
+
+
+ {{ scope.row.type == 'NY' ? '耐用品' : '易耗品' }}
-
+
- {{ scope.row.inboundQuantity || 0 }}
+ {{ scope.row.requiredQuantity || 0 }}
-
+
- -
- {{ scope.row.unitPrice || 0 }}
+ {{ scope.row.inboundQuantity || 0 }}
-
-
-
+
+
+
+ {{ scope.row.theInboundQuantity === undefined ? 0 : scope.row.theInboundQuantity }}
+
- -
+
+ -
{{ scope.row.unitPrice || 0 }}
+
-
-
-
-
- {{ Number(scope.row.inboundQuantity || 0) + Number(scope.row.theInboundQuantity || 0) }}
-
+
+
+
+
-
+
+
- -
- {{ scope.row.unitPrice || 0 }}
- s
+
+
+
+
+ {{ scope.row.materialName }}
+
-
-
-
+
+
- {{ scope.row.userInfoVO ? scope.row.userInfoVO.name : sizeForm.userInfoVO.name }}
+
+
+
+
+ {{ scope.row.type == 'NY' ? '耐用品' : '易耗品' }}
-
+
+
- {{ inDate }}
+ {{ scope.row.requiredQuantity || 0 }}
-
-
-
-
-
-
-
-
-
+
-
-
+
- {{ scope.row.type === "NY" ? "耐用品" : (scope.row.type === "YH" ? "易耗品" : "") }}
+
+ {{ scope.row.theInboundQuantity || 0 }}
-
- -
+
+ -
{{ scope.row.unitPrice || 0 }}
-
-
-
+
+
+ 入库账目表格:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ scope.row.type === "NY" ? "耐用品" : (scope.row.type === "YH" ? "易耗品" : "") }}
+
+
+
+
+ {{ scope.row.inboundQuantity || 0 }}
+
+
+
+
+ -
+ {{ scope.row.unitPrice || 0 }}
+
+
-
-
- -
- {{ scope.row.unitPrice || 0 }}
-
+
+
+
+
+
+ -
+ {{ scope.row.unitPrice || 0 }}
+
+
-
-
-
-
- {{ Number(scope.row.inboundQuantity || 0) + Number(scope.row.theInboundQuantity || 0) }}
-
+
+
+
+ {{ Number(scope.row.inboundQuantity || 0) + Number(scope.row.theInboundQuantity || 0) }}
+
+
+
+
+ -
+ {{ scope.row.unitPrice || 0 }}
+ s
+
-
-
- -
- {{ scope.row.unitPrice || 0 }}
-
+
+
+
+ {{ scope.row.userInfoVO ? scope.row.userInfoVO.name : sizeForm.userInfoVO.name }}
+
+
+
+
+ {{ inDate }}
+
+
-
-
-
-
- {{ scope.row.userInfoVO ? scope.row.userInfoVO.name : sizeForm.userInfoVO.name }}
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ scope.row.type === "NY" ? "耐用品" : (scope.row.type === "YH" ? "易耗品" : "") }}
+
+
+
+
+
+ -
+ {{ scope.row.unitPrice || 0 }}
+
+
-
-
- {{ inDate }}
-
+
+
+
+
+
+ -
+ {{ scope.row.unitPrice || 0 }}
+
+
+
+
+
+
+ {{ Number(scope.row.inboundQuantity || 0) + Number(scope.row.theInboundQuantity || 0) }}
+
+
+
+
+ -
+ {{ scope.row.unitPrice || 0 }}
+
+
-
-
-
+
+
+
+ {{ scope.row.userInfoVO ? scope.row.userInfoVO.name : sizeForm.userInfoVO.name }}
+
+
+
+
+ {{ inDate }}
+
+
+
+
+
+
+